
 
 A r r a y   P r o p e r t y :   l a s t C r e a t e d 
 
 
 
 D e s c r i p t i o n :   A n   a r r a y   o f   a l l   o f   t h e   m o s t   r e c e n t l y   r e g i s t e r e d   D C   o b j e c t s   a s   p a s s e d   t o   $ A ( )   f o r   i n s t a n t i a t i o n . 
 
 
 
 R e t u r n s :   D C   O b j e c t s   A r r a y . 
 
 
 
 N o t e :   W h e n e v e r   $ A ( )   i s   i n v o k e d   t o   i n s t a n t i a t e   a   n e w   s e t   o f   D C   o b j e c t s ,   l a s t C r e a t e d   w i l l   a l w a y s   b e   o v e r w r i t t e n   w i t h   a   n e w   a r r a y .   T h e   l a s t C r e a t e d   a r r a y   d o e s   n o t   s u p p o r t   c h a i n i n g . 
 
 
 
 E x a m p l e : 
 
 
 
 v a r   l C   =   $ A . l a s t C r e a t e d ; 
 
 
 
 a l e r t ( l C . l e n g t h ) ; 
 
 
 
 a l e r t ( l C [ 0 ] . i d ) ;   / /   D i s p l a y   t h e   i d   o f   t h e   f i r s t   D C   o b j e c t   i n   t h e   a r r a y . 
 
 